import math

def determinant_3x3(matrix):
    return (matrix[0][0] * (matrix[1][1] * matrix[2][2] - matrix[1][2] * matrix[2][1]) -
            matrix[0][1] * (matrix[1][0] * matrix[2][2] - matrix[1][2] * matrix[2][0]) +
            matrix[0][2] * (matrix[1][0] * matrix[2][1] - matrix[1][1] * matrix[2][0]))

def find_circle_center_and_radius(x1, y1, x2, y2, x3, y3):
    # 构造矩阵
    matrix1 = [
        [x1**2 + y1**2, y1, 1],
        [x2**2 + y2**2, y2, 1],
        [x3**2 + y3**2, y3, 1]
    ]
    matrix2 = [
        [x1, x1**2 + y1**2, 1],
        [x2, x2**2 + y2**2, 1],
        [x3, x3**2 + y3**2, 1]
    ]
    matrix3 = [
        [x1, y1, x1**2 + y1**2],
        [x2, y2, x2**2 + y2**2],
        [x3, y3, x3**2 + y3**2]
    ]
    matrix4 = [
        [x1, y1, 1],
        [x2, y2, 1],
        [x3, y3, 1]
    ]
    
    # 计算行列式
    det1 = determinant_3x3(matrix1)
    det2 = determinant_3x3(matrix2)
    det3 = determinant_3x3(matrix3)
    det4 = determinant_3x3(matrix4)
    
    # 计算圆心坐标
    x_c = det1 / (2 * det4)
    y_c = det2 / (2 * det4)
    
    # 计算半径
    r = math.sqrt((x_c - x1)**2 + (y_c - y1)**2)
    
    return ([x_c, y_c], r)

if __name__ == '__main__':
    # x1, y1 = 9, 3
    # x2, y2 = 6, 8
    # x3, y3 = 3, 6

    x1, y1 = int(input()), int(input())
    x2, y2 = int(input()), int(input())
    x3, y3 = int(input()), int(input())
    # 计算圆心和半径
    center, radius = find_circle_center_and_radius(x1, y1, x2, y2, x3, y3)
    print(f"{radius:.3f},{center[0]:.3f},{center[1]:.3f}")
